<html>
<#include "../common/header.ftl">

<body>
<div id="wrapper" class="toggled">

    <#--边栏sidebar-->
    <#include "../common/nav.ftl">

    <#--主要内容content-->
    <div id="page-content-wrapper">
        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <table class="table table-bordered table-condensed">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>城市名称</th>
                            <th>城市编码</th>
                            <th>状态</th>
                            <th>修改时间</th>
                            <th>修改</th>
                            <th>删除</th>
                        </tr>
                        </thead>
                        <tbody>

                        <#list list as cityInfo>
                        <tr>
                            <td>${cityInfo.id!''}</td>
                            <td>${cityInfo.cityName!''}</td>
                            <td>${cityInfo.wcnCityNo!''}</td>
                            <td>${cityInfo.status!''}</td>
                            <td>${(cityInfo.updateTime?string("yyyy-MM-dd hh:mm:ss"))!''}</td>
                            <td><a href="/manage/cityinfo/modify?id=${cityInfo.id}">修改</a></td>
                            <td class="btn-del"><a href="/manage/cityinfo/del?id=${cityInfo.id}">删除</a></td>
                        </tr>
                        </#list>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <p class="text-danger">修改数据后，需要重新请求才能刷新数据</p>
    </div>

</div>
</body>
<script>
    $(function () {
        // alert("确认删除吗")
    });

</script>
</html>